package com.school.service;

import com.school.dao.BuildDAO;
import com.school.entity.Build;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BuildService {
    @Autowired
    private BuildDAO dao;

    @Override
    public String toString() {
        return "AboutService{" +
                "dao=" + dao +
                '}';
    }

    public Build selectAll(String title) {
        Build build = dao.selectAll(title);
        return build;
    }
}
